package com.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.entity.Order;
import com.shop.service.vo.OrderItemVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author D
 * @since 2023-03-11 03:02:04
 */
public interface OrderService extends IService<Order> {

    Object addOrder(Integer userId, Integer[] productIds);

    OrderItemVo listOrders(Integer userId);
}
